package com.yunji.cabinet.service;

import com.yunji.cabinet.bo.BindCodeRemoteBO;
import com.yunji.cabinet.bo.BindCodeSelectQueryBO;
import com.yunji.cabinet.domain.DeviceBindDO;

/**
 * @version 1.0
 * @Project: yunji-coffee
 * @Package com.yunji.cabinet.service
 * @FileName IBindCodeService.java
 * @Copyright Copyright © 2024 云集互联. All Rights Reserved
 * Company		com
 * @CreateTime 2024-03-30 13:40:35
 * @Description 芯片绑定二维码接口
 * @Modification Author                    History Time			Version				Description
 * --------------------------------------------------------------------------------
 * HuaAo				2024-03-30 13:40:35		1.0					1.0 Version
 * @since JDK 1.8.0_202
 */
public interface IBindCodeService {


    /**
     * @param bindCode 二维码芯片绑定信息
     * @Title create
     * @Desc 创建二维码芯片绑定信息
     * @Date 2024-06-07 14:28:10.204
     * @Return boolean 创建结果
     */
    boolean create(DeviceBindDO bindCode);

    /**
     * @param bindCode 二维码芯片绑定信息
     * @Title update
     * @Desc 更新二维码芯片绑定信息
     * @Date 2024-06-07 14:29:23.386
     * @Return boolean 更新结果
     */
    boolean update(DeviceBindDO bindCode);

    /**
     * @param bindCode 二维码芯片绑定信息
     * @Title delete
     * @Desc 删除二维码芯片绑定信息
     * @Date 2024-06-07 15:26:04.701
     * @Return boolean 删除结果
     */
    boolean delete(BindCodeRemoteBO bo);

    DeviceBindDO select(BindCodeSelectQueryBO bo);

    boolean removeByImeiOrQrCode(BindCodeRemoteBO bindCodeRemoteBO);
}
